//
//  ContactViewDataModel.m
//  YZZX
//
//  Created by Easaa on 15/5/6.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import "ContactViewDataModel.h"

@implementation ContactViewDataModel


-(id)initWithDataContact:(NSDictionary *)dic
{
    self = [super init];
    if(self)
    {
        if(dic == NULL)
        {
            return NULL;
        }
        self.Description                    = [dic objectForKey:@"Description"];
        self.Email                          = [dic objectForKey:@"Email"];
        self.HeadShip                       = [dic objectForKey:@"HeadShip"];
        self.Mobile                         = [dic objectForKey:@"Mobile"];
        self.Name                           = [dic objectForKey:@"Name"];
        self.Photo                          = [dic objectForKey:@"Photo"];
        self.SiteId                         = [dic objectForKey:@"SiteId"];
        self.SiteName                       = [dic objectForKey:@"SiteName"];
        self.Telephone                      = [dic objectForKey:@"Telephone"];
        self.UserId                         = [[dic objectForKey:@"UserId"] stringValue];
        self.id_biaoshi                     = [[dic objectForKey:@"id"] stringValue];
    }
    
    return self;

}
@end
